﻿Public Class DocGiaCrt
    Private _madocgia As Integer
    Private _hoten As String
    Private _diachi As String
    Private _ngaysinhtu As DateTime
    Private _ngaysinhden As DateTime
    Private _email As String
    Private _ngaylapthe As DateTime
    Private _maloaidocgia As Integer

    Public Property MaDocGia() As Integer
        Get
            Return _madocgia
        End Get
        Set(ByVal value As Integer)
            _madocgia = value
        End Set
    End Property

    Public Property HoTen() As String
        Get
            Return _hoten
        End Get
        Set(ByVal value As String)
            _hoten = value
        End Set
    End Property

    Public Property DiaChi() As String
        Get
            Return _diachi
        End Get
        Set(ByVal value As String)
            _diachi = value
        End Set
    End Property

    Public Property Email() As String
        Get
            Return _email
        End Get
        Set(ByVal value As String)
            _email = value
        End Set
    End Property
    Public Property NgaySinhTu() As DateTime
        Get
            Return _ngaysinhtu
        End Get
        Set(ByVal value As DateTime)
            _ngaysinhtu = value
        End Set
    End Property
    Public Property NgaySinhDen() As DateTime
        Get
            Return _ngaysinhden
        End Get
        Set(ByVal value As DateTime)
            _ngaysinhden = value
        End Set
    End Property

    Public Property NgayLapThe() As DateTime
        Get
            Return _ngaylapthe
        End Get
        Set(ByVal value As DateTime)
            _ngaylapthe = value
        End Set
    End Property
    Public Property MaLoaiDocGia() As Integer
        Get
            Return _maloaidocgia
        End Get
        Set(ByVal value As Integer)
            _maloaidocgia = value
        End Set
    End Property

    Private _checkMaDG As Boolean
    Private _checkHoTen As Boolean
    Private _checkNgaySinh As Boolean
    Private _checkDiaChi As Boolean
    Private _checkNgayLapThe As Boolean
    Private _checkEmail As Boolean
    Private _checkMaLoaiDocGia As Boolean


    Public Property CheckMaDG() As Boolean
        Get
            Return _checkMaDG
        End Get
        Set(ByVal value As Boolean)
            _checkMaDG = value
        End Set
    End Property
    Public Property CheckHoTen() As Boolean
        Get
            Return _checkHoTen
        End Get
        Set(ByVal value As Boolean)
            _checkHoTen = value
        End Set
    End Property

    Public Property CheckDiaChi() As Boolean
        Get
            Return _checkDiaChi

        End Get
        Set(ByVal value As Boolean)
            _checkDiaChi = value
        End Set
    End Property
    Public Property CheckEmail() As Boolean
        Get
            Return _checkEmail
        End Get
        Set(ByVal value As Boolean)
            _checkEmail = value
        End Set
    End Property
    Public Property CheckNgaySinh() As Boolean
        Get
            Return _checkNgaySinh
        End Get
        Set(ByVal value As Boolean)
            _checkNgaySinh = value
        End Set
    End Property

    Public Property CheckNgayLapThe() As Boolean
        Get
            Return _checkNgayLapThe
        End Get
        Set(ByVal value As Boolean)
            _checkNgayLapThe = value
        End Set
    End Property
    Public Property CheckMaLoaiDocGia() As Boolean
        Get
            Return _checkMaLoaiDocGia
        End Get
        Set(ByVal value As Boolean)
            _checkMaLoaiDocGia = value
        End Set
    End Property

    

End Class
